package com.kawaiim.zhj.GameProcess;

import com.kawaiim.zhj.LandlordActivity;

//一轮游戏结束做最后的处理
public class EndGameProcess {
    //获取当前进行的游戏
    private LandlordActivity game;

    public EndGameProcess(LandlordActivity game) {
        this.game = game;
    }

    public void startEndGame() {
        //将底分删除


        //如果当前处于托管状态，取消托管
        if (game.isHosting) {
            game.isHosting = false;
        }


        //初始化所有的变量,并移除所有的牌和底牌
        game.clearAll();

        //下一步的状态转移
        game.process.gameProcessChange();

    }
}
